package cn.webrx.mapper;

import cn.webrx.entity.Captcha;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CaptchaMapper extends BaseMapper<Captcha> {

    @Select("select `value` from t_captcha where id = #{id}")
    String getCaptcha(String id);
}
